ci: disable Elementary artifact hooks during seed#2236
Conversation
Co-authored-by: Yosef Arbiv <[email protected]>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
Disabled knowledge base sources:
📝 WalkthroughWalkthroughThe workflow file updates the E2E dbt seed step to invoke Changesdbt Seed Workflow Configuration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
👋 @arbiv |
Summary
dbt seedstep.Context
The seed step runs before Elementary models are created. With dbt 1.11, missing Elementary relations can propagate as rendered strings into adapter relation APIs during
on-run-end, causing warehouse CI failures such as'str' object has no attribute 'database'.Testing
ELEMENTARY_DBT_PACKAGE_PATH=/tmp/dbt-data-reliability-ci-inspect HOME=/tmp/elementary-repro-home dbt seed -f --target duckdb --project-dir tests/e2e_dbt_project --vars '{"disable_run_results": true, "disable_dbt_invocation_autoupload": true}'ELEMENTARY_DBT_PACKAGE_PATH=/tmp/dbt-data-reliability-ci-inspect HOME=/tmp/elementary-repro-bq-home dbt compile --no-populate-cache --inline "{{ elementary.on_run_end() }}" --target bigquery --project-dir tests/e2e_dbt_project --vars '{"disable_run_results": true, "disable_dbt_invocation_autoupload": true}'Summary by CodeRabbit